//
//  ZTOrderModel.m
//  FD
//
//  Created by Yasin on 2018/10/23.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import "ZTOrderModel.h"

@implementation ZTOrderModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    return @{@"orderId":@"id"};
}

- (void)setShop:(NSDictionary *)shop {
    _shop = shop;
    _thumbnail = [NSString stringWithFormat:@"%@%@",kPicDomain,shop[@"thumbnail"]];
    
    _name = shop[@"name"];
}


- (void)setGoodsList:(NSArray *)goodsList {
    _goodsList = goodsList;
    _count = goodsList.count;
}
@end
